/*
 * This file is part of LazyCipher. LazyCipher is free software: you can
 * redistribute it and/or modify it under the terms of the GNU General Public
 * License as published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version. LazyCipher is distributed in
 * the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
 * the GNU General Public License for more details. You should have received a
 * copy of the GNU General Public License along with LazyCipher. If not, see
 * <http://www.gnu.org/licenses/>.
 */
package org.lazycoder.Crypto.Keys;

import org.lazycoder.Crypto.Letter;

/**
 * @author Matthew Bayliss
 */
public class IntegerKey implements Key {
	Integer	key;

	public IntegerKey(Integer k) {
		key = k;
	}

	@Override
	public Integer getInteger() {
		return key;
	}

	@Override
	public String getString() {
		return String.valueOf(key);
	}

	@Override
	public Letter getLetter() {
		return Letter.createLatinLetter(key);
	}

	@Override
	public void next() {

	}

}
